package com.example.a313ldy.yuejian_17.Service;

//import com.example.a313ldy.yuejian_17.bean.Club;
//import com.example.a313ldy.yuejian_17.bean.Coach;
//import com.example.a313ldy.yuejian_17.bean.NewBean;
//import com.example.a313ldy.yuejian_17.bean.Post;
//import com.example.a313ldy.yuejian_17.bean.Train;
import com.example.a313ldy.yuejian_17.Bean.Activities;
import com.example.a313ldy.yuejian_17.Bean.User;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;


public interface YuejianService {
    @GET("Login/login/")    //登录
    Call<User> userLogin(
            @Query("user_telphone") String user_telphone,
            @Query("user_password") String user_password
    );

    @GET("Register/register/") //注册
    Call<User> register(
            @Query("user_telphone") String user_telphone,
            @Query("user_name") String user_name,
            @Query("user_password") String user_password
    );

    @GET("UserInformation/userpic/")  //  //登录页面获取用户头像
    Call<User> userPhoto(
            @Query("user_telphone") String user_telphone
    );

    Call<Activities> activitylist();

    /*Call<Activities> activitylist();
    @GET("Train/trainlist/") //培训列表
    Call<List<Train>> trainlist(
            @Query("flag") String flag
    );
    @GET("Train/newslist/") //培训之消息列表
    Call<List<NewBean>> newslist(
            @Query("club_id") int club_id
    );
    @GET("Club/clublist/") //俱乐部列表
    Call<Club> clublist(
    );
    @GET("Club/clubCoach/") //俱乐部之教练列表
    Call<Coach> coachlist(
            @Query("club_id") int club_id
    );
    @GET("Train/addnew/") //培训之发送消息
    Call<NewBean> addnews(
            @Query("club_id") int club_id,
            @Query("send_id") int send_id,
            @Query("content") String content
    );

    @GET("Post/postlist/") //帖子列表
    Call<Post> postlist(
    );*/
}